<div id="signup">
	<div class="box">
			<div class="sect">
				<?php $form=$this->beginWidget('CActiveForm', array(
						'id'=>'order-form',
						'enableAjaxValidation'=>false,
					)); ?>
					   	<?php echo $form->errorSummary($model); ?>

						<div class="field quantity">
							<?php echo $form->labelEx($model,'quantity',array('for'=>"quantity")); ?>
							<?php echo $form->textField($model,'quantity',array('size'=>3,'maxlength'=>3,'id'=>"quantity",'class'=>"number")); ?>
							<?php echo $form->error($model,'quantity'); ?>

						</div>

 						<div class="field mobile">
							<?php echo $form->labelEx($model,'mobile',array('for'=>"mobile")); ?>
							<?php echo $form->textField($model,'mobile',array('size'=>11,'maxlength'=>11,'id'=>"mobile",'class'=>"number")); ?>
							<?php echo $form->error($model,'mobile'); ?>
							<span class="inputtip">手机号码是我们联系您的最重要方式</span>
						</div>

						<div class="field realname">
							<?php echo $form->labelEx($model,'realname',array('for'=>"realname")); ?>
							<?php echo $form->textField($model,'realname',array('size'=>11,'maxlength'=>20,'id'=>"realname",'class'=>"f-input")); ?>
							<?php echo $form->error($model,'realname'); ?>
						</div>
						<div class="field zipcode">
							<?php echo $form->labelEx($model,'zipcode',array('for'=>"zipcode")); ?>
							<?php echo $form->textField($model,'zipcode',array('size'=>11,'maxlength'=>6,'id'=>"zipcode",'class'=>"number")); ?>
							<?php echo $form->error($model,'zipcode'); ?>
						</div>

						<div class="field address">
							<?php echo $form->labelEx($model,'address',array('for'=>"address")); ?>
							<?php echo $form->textField($model,'address',array('size'=>40,'maxlength'=>128,'id'=>"address",'class'=>"f-input")); ?>
							<?php echo $form->error($model,'address'); ?>
						</div>

						<div class="field remark">
							<?php echo $form->labelEx($model,'remark',array('for'=>"remark")); ?>
							<?php echo $form->textArea($model,'remark',array('rows'=>6, 'cols'=>50,'id'=>"remark",'class'=>"f-input")); ?>
							<?php echo $form->error($model,'remark'); ?>
						</div>

						<div class="act">
						<h2/><?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save',array('id'=>"submit",'class'=>"formbutton")); ?>
						</div>
				<?php $this->endWidget(); ?>
				</div>
			</div>
	</div>
</div>


